package com.gopay.common.domain.pg;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;

/**
 * 
 * @PgBtQueryTransDtl.java
 * @author GongZhong
 * @2013-1-4 下午02:01:55 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "PG_BT_QUERY_TRANS_DTL")
public class PgBtQueryTransDtl extends BaseEntity {
    /**
      * 
      */
    private static final long serialVersionUID = 1L;

    private int transDtlSq;
    private String merId;
    private String merOrderId;
    private String merTxnCd;
    private Date merTxnTm;
    private String memberName;
    private String memberType;
    private String constractType;
    private Date timeBegin;
    private Date timeEnd;
    private int resaultSetPageLines;
    private int pageNum;
    private String gatewayVersion;
    private String charset;
    private String language;
    private String signType;
    private String rspCode;
    private String transLaunchIp;
    private String sysRemark;
    private Date createdTs;
    private Date lastUpdTs;
    private String lastUpdTrancode;
    private String merRemark3;
    private String merRemark1;
    private String merRemark2;
    private String merRemark4;
    private String merRemark5;
    private Date timeBegin2;
    private Date timeEnd2;
    private Date timeBegin3;
    private Date timeEnd3;
    private String userAcct;
    private String gopayOrderId;

    public PgBtQueryTransDtl() {
    }

    @Id
    @SequenceGenerator(name = "PgBTQueryTransDtlSequence", sequenceName = "PG_GEN_ORDER_TRANS_DTL_SEQ")
    @GeneratedValue(generator = "PgBTQueryTransDtlSequence", strategy = GenerationType.SEQUENCE)
    @Column(name = "TRANS_DTL_SQ", unique = true, nullable = false, precision = 22, scale = 0)
    public int getTransDtlSq() {
        return this.transDtlSq;
    }

    public void setTransDtlSq(int transDtlSq) {
        this.transDtlSq = transDtlSq;
    }

    @Column(name = "MER_ID", nullable = false, length = 10)
    public String getMerId() {
        return this.merId;
    }

    public void setMerId(String merId) {
        this.merId = merId;
    }

    @Column(name = "MER_ORDER_ID", nullable = false)
    public String getMerOrderId() {
        return this.merOrderId;
    }

    public void setMerOrderId(String merOrderId) {
        this.merOrderId = merOrderId;
    }

    @Column(name = "MER_TXN_CD", nullable = false, length = 10)
    public String getMerTxnCd() {
        return this.merTxnCd;
    }

    public void setMerTxnCd(String merTxnCd) {
        this.merTxnCd = merTxnCd;
    }

    @Column(name = "MER_TXN_TM", nullable = false)
    public Date getMerTxnTm() {
        return this.merTxnTm;
    }

    public void setMerTxnTm(Date merTxnTm) {
        this.merTxnTm = merTxnTm;
    }

    @Column(name = "MEMBER_NAME", length = 100)
    public String getMemberName() {
        return this.memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    @Column(name = "MEMBER_TYPE", length = 1)
    public String getMemberType() {
        return this.memberType;
    }

    public void setMemberType(String memberType) {
        this.memberType = memberType;
    }

    @Column(name = "CONSTRACT_TYPE", length = 1)
    public String getConstractType() {
        return this.constractType;
    }

    public void setConstractType(String constractType) {
        this.constractType = constractType;
    }

    @Column(name = "TIME_BEGIN1")
    public Date getTimeBegin() {
        return this.timeBegin;
    }

    public void setTimeBegin(Date timeBegin) {
        this.timeBegin = timeBegin;
    }

    @Column(name = "TIME_END1")
    public Date getTimeEnd() {
        return this.timeEnd;
    }

    public void setTimeEnd(Date timeEnd) {
        this.timeEnd = timeEnd;
    }

    @Column(name = "RESAULT_SET_PAGE_LINES", precision = 22, scale = 0)
    public int getResaultSetPageLines() {
        return this.resaultSetPageLines;
    }

    public void setResaultSetPageLines(int resaultSetPageLines) {
        this.resaultSetPageLines = resaultSetPageLines;
    }

    @Column(name = "PAGE_NUM", precision = 22, scale = 0)
    public int getPageNum() {
        return this.pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    @Column(name = "GATEWAY_VERSION", nullable = false, length = 5)
    public String getGatewayVersion() {
        return this.gatewayVersion;
    }

    public void setGatewayVersion(String gatewayVersion) {
        this.gatewayVersion = gatewayVersion;
    }

    @Column(name = "CHARSET", length = 1)
    public String getCharset() {
        return this.charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    @Column(name = "LANGUAGE", length = 1)
    public String getLanguage() {
        return this.language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    @Column(name = "SIGN_TYPE", length = 1)
    public String getSignType() {
        return this.signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    @Column(name = "RSP_CODE", length = 4)
    public String getRspCode() {
        return this.rspCode;
    }

    public void setRspCode(String rspCode) {
        this.rspCode = rspCode;
    }

    @Column(name = "TRANS_LAUNCH_IP", length = 50)
    public String getTransLaunchIp() {
        return this.transLaunchIp;
    }

    public void setTransLaunchIp(String transLaunchIp) {
        this.transLaunchIp = transLaunchIp;
    }

    @Column(name = "SYS_REMARK", length = 200)
    public String getSysRemark() {
        return this.sysRemark;
    }

    public void setSysRemark(String sysRemark) {
        this.sysRemark = sysRemark;
    }

    @Column(name = "CREATED_TS")
    public Date getCreatedTs() {
        return this.createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    @Column(name = "LAST_UPD_TS")
    public Date getLastUpdTs() {
        return this.lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    @Column(name = "LAST_UPD_TRANCODE", length = 6)
    public String getLastUpdTrancode() {
        return this.lastUpdTrancode;
    }

    public void setLastUpdTrancode(String lastUpdTrancode) {
        this.lastUpdTrancode = lastUpdTrancode;
    }

    @Column(name = "MER_REMARK3", length = 500)
    public String getMerRemark3() {
        return this.merRemark3;
    }

    public void setMerRemark3(String merRemark3) {
        this.merRemark3 = merRemark3;
    }

    @Column(name = "MER_REMARK1", length = 500)
    public String getMerRemark1() {
        return this.merRemark1;
    }

    public void setMerRemark1(String merRemark1) {
        this.merRemark1 = merRemark1;
    }

    @Column(name = "MER_REMARK2", length = 500)
    public String getMerRemark2() {
        return this.merRemark2;
    }

    public void setMerRemark2(String merRemark2) {
        this.merRemark2 = merRemark2;
    }

    @Column(name = "MER_REMARK4", length = 500)
    public String getMerRemark4() {
        return this.merRemark4;
    }

    public void setMerRemark4(String merRemark4) {
        this.merRemark4 = merRemark4;
    }

    @Column(name = "MER_REMARK5", length = 500)
    public String getMerRemark5() {
        return this.merRemark5;
    }

    public void setMerRemark5(String merRemark5) {
        this.merRemark5 = merRemark5;
    }

    @Column(name = "TIME_BEGIN2", nullable = true)
    @Temporal(TemporalType.TIMESTAMP)
    public Date getTimeBegin2() {
        return timeBegin2;
    }

    public void setTimeBegin2(Date timeBegin2) {
        this.timeBegin2 = timeBegin2;
    }

    @Column(name = "TIME_END2", nullable = true)
    @Temporal(TemporalType.TIMESTAMP)
    public Date getTimeEnd2() {
        return timeEnd2;
    }

    public void setTimeEnd2(Date timeEnd2) {
        this.timeEnd2 = timeEnd2;
    }

    @Column(name = "TIME_BEGIN3", nullable = true)
    @Temporal(TemporalType.TIMESTAMP)
    public Date getTimeBegin3() {
        return timeBegin3;
    }

    public void setTimeBegin3(Date timeBegin3) {
        this.timeBegin3 = timeBegin3;
    }

    @Column(name = "TIME_END3", nullable = true)
    @Temporal(TemporalType.TIMESTAMP)
    public Date getTimeEnd3() {
        return timeEnd3;
    }

    public void setTimeEnd3(Date timeEnd3) {
        this.timeEnd3 = timeEnd3;
    }

    @Column(name = "USER_ACCT", length = 500)
    public String getUserAcct() {
        return this.userAcct;
    }

    public void setUserAcct(String userAcct) {
        this.userAcct = userAcct;
    }
    
    @Column(name = "GOPAY_ORDER_ID", length = 500)
    public String getGopayOrderId() {
        return this.gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }
}
